<!doctype html>
{% load static %}
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>查看评价</title>
    <link rel="shortcut icon" href="{% static 'img/logo.png' %}">

    <!-- Bootstrap -->
    <link rel="stylesheet" href="{% static 'bootstrap3/css/bootstrap.min.css' %}"
          integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">

    <!-- HTML5 shim 和 Respond.js 是为了让 IE8 支持 HTML5 元素和媒体查询（media queries）功能 -->
    <!-- 警告：通过 file:// 协议（就是直接将 html 页面拖拽到浏览器中）访问页面时 Respond.js 不起作用 -->
    <!--[if lt IE 9]>
    <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
    <![endif]-->


</head>

<body background="{% static 'img/img.png' %}" style=" background-repeat:no-repeat ;background-size:100% 100%;
background-attachment: fixed;">


<nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar"
                    aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>

            <a class="navbar-brand" style="padding: 3px 0px 3px 3px;margin: 0px">
                <img alt="Brand" width="45px" height="45px" src="{% static 'img/logo.png' %}">
            </a>
            <b><a class="navbar-brand" style="font-size: 15px">教师教学质量评价系统的设计 </a></b>
        </div>
        <div id="navbar" class="collapse navbar-collapse">

            <ul class="nav navbar-nav navbar-right">
                <li><a href="">欢迎您&nbsp;{{ request.session.teacher_id }}</a></li>
                {% if request.session.teacher_id %}
                    <li>
                        <a href="{% url 'teacher_pswd_update' %}">修改密码</a>
                    </li>
                    <li>
                        <a href="/logout/">退出登录</a>
                    </li>
                {% endif %}
            </ul>
        </div><!--/.nav-collapse -->
    </div>
</nav>


<div class="container">
    <div class="row clearfix">
        <div class="col-xs-12 col-md-12 column" style="margin-top: 80px;align-content: center">
            <div class="row clearfix">
                <div class="col-xs-2 col-md-1 column"></div>

                <div class="col-sm-8 col-md-10 column"
                >
                    <div style="font-size: 15pt;margin-top:20px;background-color: white;opacity: 0.8;padding: 30px;border-radius: 10px;">
                        <ul class="nav nav-pills nav-stacked">
                            <div class="list-group">
                                <a class="list-group-item active">&emsp;授课班级</a>
                                {% regroup a by xuehao__banji as country_list %}
                                {% for s in country_list %}
                                    <a style="background-color: #ebecef;margin-top: 1px;font-size: 13pt"
                                       class="list-group-item"
                                       href="/teachers/teacher_pingjia/{{ s.grouper }}"
                                       target="leftnav">&emsp;{{ forloop.counter }}.{{ s.grouper }}</a>
                                {% empty %}
                                    <center>
                                        <h3>你没有授课的班级！</h3>
                                        <span style="color: red">
                            如有问题请联系管理员！
                            <p>手机号：19999999999</p>
                            </span>
                                    </center>
                                {% endfor %}
                            </div>


                        </ul>
                    </div>


                </div>
                {#                <div class="col-xs-6 col-md-6 column">#}
                {##}
                {##}
                {#                    <div class="list-group" style="font-size: 11pt">#}
                {#                        <a class="list-group-item active"><b>授课班级</b></a>#}
                {#                        {% regroup a by xuehao__banji as country_list %}#}
                {#                        {% for s in country_list %}#}
                {#                            <div class="list-group-item ">#}
                {#                                <a href="/teachers/teacher_pingjia/{{ s.grouper }}" target="leftnav">{{ s.grouper }}</a>#}
                {#                            </div>#}
                {#                        {% endfor %}#}
                {#                    </div>#}
                {##}
                {##}
                {##}
                {##}
                {##}
                {#                </div>#}

            </div>
        </div>
    </div>
</div>

<footer class="footer navbar-fixed-bottom ">
    <div class="container ">
        <h5 class="text-muted">© 2022 教师教学质量评价系统的设计与实现</h5>
    </div>
</footer>
<style>
    .footer {
        background-color: #333;
    }
</style>
<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
<script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js"
        integrity="sha384-nvAa0+6Qg9clwYCGGPpDQLVpLNn0fRaROjHqs13t4Ggj3Ez50XnGQqc/r8MhnRDZ"
        crossorigin="anonymous"></script>
<!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
<script src="{% static 'bootstrap3/js/bootstrap.min.js' %}"
        integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd"
        crossorigin="anonymous"></script>
</body>
</html>